package com.miracle;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author miracle
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan("com.miracle.system.**.mapper")
public class MiracleApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(MiracleApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  MC启动成功   ლ(´ڡ`ლ)ﾞ    \n" +
                ".----------------.   .----------------.         \n" +
                "| .--------------. | | .--------------. |       \n" +
                "| | ____    ____ | | | |     ______   | |       \n" +
                "| ||_   \\  /   _|| | | |   .' ___  |  | |      \n" +
                "| |  |   \\/   |  | | | |  / .'   \\_|  | |     \n" +
                "| |  | |\\  /| |  | | | |  | |         | |      \n" +
                "| | _| |_\\/_| |_ | | | |  \\ `.___.'\\  | |    \n" +
                "| ||_____||_____|| | | |   `._____.'  | |       \n" +
                "| |              | | | |              | |       \n" +
                "| '--------------' | | '--------------' |       \n" +
                " '----------------'   '----------------' "
        );
    }
}
